//
//  TallyViewCell.m
//  Exam13-2b
//
//  Created by 孙晓晔 on 2017/4/29.
//  Copyright © 2017年 孙晓晔. All rights reserved.
//

#import "TallyViewCell.h"

@implementation TallyViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setCellModel:(TallyListCellModel *)cellModel {
    _cellModel = cellModel;
    
    _imageView.image = [UIImage imageNamed:cellModel.tallyCellImage];
    _imageLabel.text = cellModel.tallyCellName;
}

@end
